package com.nami.pchat.domain.service;

import com.nami.gate.external.basic.bo.ConnectedUserBO;
import com.nami.gate.external.basic.cache.user.UserDeviceRel;
import com.nami.im.network.model.message.v2.Message;


public interface PrivateChatDomainService {
    boolean validateParamsNull(Message message);
    boolean checkUserParamError(ConnectedUserBO sender,
                                UserDeviceRel senderUser,
                                UserDeviceRel recvUser,
                                Message message);
    void publishMessageEvent(Integer qos,
                             ConnectedUserBO sender,
                             Message originalAppData);
   void fillParamForThisMessage(String appKey,
                                Message original);
}
